package astnode;

public class IDStmtNode extends ASTNode implements StmtNode {
	
	private int identifier = -1;

	public IDStmtNode( int lineNum ) {
		super(lineNum);
	}
	public IDStmtNode(IDFactorNode variableNode) {
		super( variableNode.getLineNum() );
		this.identifier = variableNode.getIdentifier();
	}

	public IDStmtNode(IDStmtNode idStmtNode) {
		super( idStmtNode.getLineNum() );
		this.identifier = idStmtNode.identifier;
	}
	public int getIdentifier() {
		return identifier;
	}

	public void setIdentifier(int identifier) {
		this.identifier = identifier;
	}


}
